home *** CD-ROM | disk | FTP | other *** search
/ PCNet 1998 June / PCnet Haziran 1998.iso / Internet / Tools / ANJAVA10.ZIP / DATA1.CAB / Program_Executable_Files / Applet / warp / warp.txt < prev    next >
Encoding:
Text File  |  1998-04-23  |  5.6 KB  |  107 lines

  1.  
  2.           AnfyWarp 2.1 - Copyright (C) by Fabio Ciucci 1996/98
  3.  
  4.  
  5. This applet can warp/spiralyze any GIF or JPG image.
  6. the only requirement is that this image must be large equally to one of
  7. the powers of 2 (64x64 pixel, or 32x64, 128x128, ...).
  8. Changing parameters is possible to simulate a "breathing image" effect.
  9. Remember that are needed both Warp.class , Lware.class and anfy.class.
  10. You must upload these 3 .class files and insert the <applet> tag on your
  11. html document to add this applet to your page.
  12. This applet is fully parametrized, so you can generate all kinds of warpers
  13. you want. Here an example of what you have to write in the html (the
  14. things anfter the ; are comments with min-max values acceptet):
  15.  
  16.  
  17. <applet code="Warp.class" width=128 height=128> ; Name, Width, Height
  18. <param name=credits value="Applet by Fabio Ciucci (www.anfiteatro.it/java.html)">
  19. <param name=regcode value="NO">         ; Register code (if you have it)
  20. <param name=reglink value="NO">         ; URL where go optionally when clicked
  21. <param name=regnewframe value="YES">    ; Reglink opened in new frame?
  22. <param name=regframename value="_blank"> ; Name of new frame for reglink
  23. <param name=statusmsg value="Tmapcube applet">  ; Statusbar message
  24. <param name=image value="img64n1.GIF">  ; Image to load
  25. <param name=res value="1">              ; resolution (1-8)
  26. <param name=w1start value="-500">       ; spiral start (-2000 .. 2000)
  27. <param name=w2start value="5">          ; breath start (-2000 .. 2000)
  28. <param name=wadd1 value="2">            ; spiral add (0 .. 25)
  29. <param name=wadd2 value="1">            ; breath add (0 .. 25)
  30. <param name=w1min value="-500">         ; spiral min (-2000 .. 2000)
  31. <param name=w1max value="500">          ; spiral max (-2000 .. 2000)
  32. <param name=w2min value="-100">         ; breath min (-2000 .. 2000)
  33. <param name=w2max value="350">          ; breath max (-2000 .. 2000)
  34. <param name=warpmode value="1">         ; Warp mode (1 .. 3)
  35. <param name=textscroll value="NO">        ; File for scrolltext or "NO"
  36. <param name=textoffset value="140">       ; Txtscroll y offset
  37. <param name=textspeed value="1">          ; Txtscroll speed
  38. <param name=textfont value="Arial">       ; Txtscroll font name
  39. <param name=textbold value="NO">          ; Txtscroll bold ("YES" or "NO")
  40. <param name=textsize value="24">          ; Txtscroll font size
  41. <param name=textshadow value="YES">       ; Txtscroll shadow ("YES" or "NO")
  42. <param name=TextColR value="200">         ; Txtscroll color (red component)
  43. <param name=TextColG value="255">         ; Txtscroll color (green component)
  44. <param name=TextColB value="190">         ; Txtscroll color (blue component)
  45. <param name=TextSColR value="20">         ; Txtscroll shadow col. (red c.)
  46. <param name=TextSColG value="20">         ; Txtscroll shadow col. (green c.)
  47. <param name=TextSColB value="50">         ; Txtscroll shadow col. (blue c.)
  48. <param name=TextJumpAmp value="0">        ; Txtscroll jump aplitude
  49. <param name=TextJumpSpd value="0">        ; Txtscroll jump speed
  50. <param name=TextSineAmp value="0">        ; Txtscroll sineshape amplitude        
  51. <param name=TextSineSpd value="0">        ; Txtscroll sineshape movement
  52. <param name=TextSineAngle value="0">      ; Txtscroll sineangle / pixel  
  53. <param name=memdelay value="1000">        ; Memory deallocation delay
  54. <param name=priority value="3">           ; Task priority (1..10)
  55. <param name=MinSYNC value="10">           ; Min. milliseconds/frame for sync
  56. Sorry, your browser doesn't suppor Java.  ; Message for no java browsers.
  57. </applet>                                 ; End of applet tag
  58.  
  59.                              ---------
  60.  
  61.  
  62. Here detailed instructions about how to change parameters:
  63.  
  64.  
  65. The credits parameter can't be changed otherwise the applet will not work.
  66.  
  67. To activate the reg parameters read the shareware registration notes.
  68. In the "regcode" parameter you have to place the registration code you
  69. purchase from the author. If it is correct and the applet is run from the
  70. registered domain name, you can use "reglink" parameter, where you can specify
  71. an URL where bring user when the applet is clicked.
  72. If you set to "YES" regnewframe, you can specify a frame where load the
  73. reglink:
  74.  
  75. "_blank"  : To load the link in a new blank unnamed browser window.
  76. "_self"   : To load the link into the same window the applet occupies.
  77. "_parent" : To load the link into the immediate FRAMESET parent.
  78. "_top"    : To load the link into the top body of the window.
  79.  
  80. Otherwise the frame name, for example "myframe1".
  81.  
  82. The image must be large equally to one of the powers of 2 (64x64
  83. pixel, or 32x64, 128x128, ...)., GIF or JPG format.
  84. Valid sizes, for example, are 8*8, 8*16, 8*32, 16*32, 32*16, 32*32, 64*64,
  85. 64*32, 128*32, 128*64, 32*128, 128*128, 256*128...
  86.  
  87. The applet can be of any size. The res parameter determine the resolution:
  88. with res=1 pixels are small, but effect is slow, with res=8 pixels are too
  89. great but effect is faster. I think the best choices are 1-3.
  90.  
  91. You can control and mix two effects: a spiralizer and a "breath simulator".
  92.  
  93. w1start,wadd1,w1min,w1max are for spiralizer.
  94. w2start,wadd2,w2min,w2max are for breath simulator.
  95.  
  96. The min, max and start values can go between -2000 and 2000, and you can
  97. set them as you prefer.
  98. The add values (the speed) can go between 0 and 25.
  99. If you set wadd1 to 0, you will deactivate the spiralyzer, and the image will
  100. only breath.
  101. If you set wadd2 to 0, you will deactivate the breath simulator, and the
  102. image will only spiralyze.
  103.  
  104. Changing "warpmode" you will change the effect distorting more the texture.
  105.  
  106.  
  107.